/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package battleship_client;

/**
 *
 * @author omar
 */
public class MovementStruct {
    private int coordX = 0, coordY = 0;
    private boolean hit = false;

    public MovementStruct() {
    }

    public MovementStruct(int x, int y, boolean hit){
        this.coordX = x;
        this.coordY = y;
        this.hit = hit;
    }

    /**
     * @return the coordX
     */
    public int getCoordX() {
        return coordX;
    }

    /**
     * @param coordX the coordX to set
     */
    public void setCoordX(int coordX) {
        this.coordX = coordX;
    }

    /**
     * @return the coordY
     */
    public int getCoordY() {
        return coordY;
    }

    /**
     * @param coordY the coordY to set
     */
    public void setCoordY(int coordY) {
        this.coordY = coordY;
    }

    /**
     * @return the hit
     */
    public boolean isHit() {
        return hit;
    }

    /**
     * @param hit the hit to set
     */
    public void setHit(boolean hit) {
        this.hit = hit;
    }


}